package rim;

import javax.persistence.ManyToOne;

import datatypes.r2.flavors.SC_NT;
import datatypes.r2.foundation.ANY;

/**
 * Definition of AttentionLine:
 * 
 * A collection of parameters related to a transmission that may need to be
 * accessible from the transmission wrapper.
 * 
 * 一个参数的采集，传输，可能需要从传输包装。
 * 
 * 
 * UsageConstraint:
 * 
 * The contents of the class shall be related to the transmission as a whole and
 * shall be solely used for transmission related purposes and not have any
 * impact on the semantic interpretation of the contents of the transmission.
 * 
 * 类的内容，应作为一个整体与传输，并应仅用于传输有关的用途，并没有任何传输内容的语义解释的影响。
 * 
 * 
 * UsageNotes:
 * 
 * AttentionLine is a name-value pair, with keyWordText providing the topic from
 * an enumerated set and value providing the parameter.
 * 
 * AttentionLine是一个名称 - 值对，，与keyWordText提供从枚举集，并提供参数值的话题。
 * 
 * 
 * DesignComments:
 * 
 * Confirm edits. Clarify in definition, add to examples.
 * 
 * 确认修改。澄清定义，添加到的例子。
 * 
 * 
 * Examples:
 * 
 * If encrypted or compressed payloads are used, and the receiver needs to have
 * access to the Patient.id for internal routing purposes within the receiving
 * application, then the sender can make this information available in
 * AttentionLine.
 * 
 * 如果加密或压缩的有效载荷，和接收器都需要有访问的Patient.id内部路由在接收应用程序的目的，则可以使发件人此信息在AttentionLine可用。
 * 
 * @author Obama
 * 
 */
public class AttentionLine extends InfrastructureRoot {

	private static final long serialVersionUID = 1L;
	/**
	 * Definition: A category of attentionLine parameter.
	 * 
	 * 一类attentionLine参数。
	 * 
	 * 
	 * Examples:
	 * 
	 * Patient identifier, public health case type
	 * 
	 * 病人标识，公共卫生案件类型
	 */
	private SC_NT keyWordText;
	/**
	 * Definition: A value associated with the key as provided in the
	 * AttentionLine.keyWordText attribute.
	 * 
	 * 提供在AttentionLine.keyWordText属性的键关联的值。
	 * 
	 * 
	 * FormalConstraint:
	 * 
	 * The data type of the attribute SHALL be constrained to one of the
	 * following data types: BL, CV, II, URL, INT, REAL, TS, PQ, MO, IVL<TS>.
	 * 
	 * 该属性的数据类型应限制以下数据类型之一：“基本法”，简历，二，网址，为INT，REAL中，变性，魁北克，密苏里州，IVL<TS>。
	 */
	private ANY value;
	@ManyToOne
	private Transmission transmission;

	public SC_NT getKeyWordText() {
		return keyWordText;
	}

	public void setKeyWordText(SC_NT keyWordText) {
		this.keyWordText = keyWordText;
	}

	public ANY getValue() {
		return value;
	}

	public void setValue(ANY value) {
		this.value = value;
	}

	public Transmission getTransmission() {
		return transmission;
	}

	public void setTransmission(Transmission transmission) {
		this.transmission = transmission;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
